home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-03-20 | 2.3 KB | 71 lines | [TEXT/MPS ] |
- ;------------------------------------------------------------------------------
- ;
- ; FILENAME
- ; OldApp.a
- ;
- ; DESCRIPTION
- ; Contains the jump table for the old-application compatibility
- ; messages we override.
- ;
- ; COPYRIGHT
- ; Copyright © 1995 Apple Computer, Inc.
- ; All rights reserved.
- ;
- ; Modification history
- ; 10/04/95 - David Hayward - Version 1.0.4 modified code so that
- ; the driver can be build under MPW,
- ; Metrowerks, and Symantec. In general,
- ; all that was required to do this was
- ; to add an inline-assembly jumptable
- ; and to store all globals off of the
- ; message manager instance context.
- ; Also made a few changes so that the
- ; driver can be rebuilt to support any
- ; resolution by changing the #defines
- ; kResolution and kPatStretch in
- ; "CommonDefines.h"
- ;
- ; 06/14/95 - Dave Hersey - Version 1.0.3 to fix a bug in
- ; CustomBufferingAndIO.c when creating
- ; high-res PICTs, and to make the size
- ; of buffers more flexible.
- ;
- ; 05/26/95 - Dave Hersey - Version 1.0.2 to add the new 'outp'
- ; desktop printer resource in NewApp.c.
- ;
- ; 05/03/95 - Dave Hersey - Version 1.0.1 to fix some minor bugs in
- ; CustomBufferingAndIO.c.
- ;
- ; 01/14/95 - Dave Hersey - Created from the shell of a hollowed-out
- ; ImageWriter driver.
- ;
- ;--------------------------------------------------------------------------------
-
- CASE OBJ
- STRING ASIS
-
- EXPORT SD_JumpTable
- IMPORT SD_ConvertPrintRecordTo ; Our override for GXConvertPrintRecordTo.
- IMPORT SD_ConvertPrintRecordFrom ; Our override for GXConvertPrintRecordFrom.
- IMPORT SD_PrValidate ; Our override for GXPrValidate.
-
- ;--------------------------------------------------------------------------------
- ; This code must be kept in sync with the assembly jump table
- ; in OldApp.c and the gxOverrideType resource in OldApp.r
- ;--------------------------------------------------------------------------------
-
- SD_JumpTable PROC ; Our main entry point.
-
- DC.L 0 ; Reserved for owner count.
-
- JMP SD_ConvertPrintRecordTo ; (offset = 4)
- JMP SD_ConvertPrintRecordFrom ; (offset = 8)
- JMP SD_PrValidate ; (offset = 12)
-
- RTS ; this is here so that the
- ; entrypoint will be labled "Anon0"
-
- ENDPROC
-
- END
-